<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;

class BoxRecord extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'box_record';
    public $timestamps = false;

    public function user()
    {
        return $this->belongsTo(BoxUser::class, 'user_id', 'id');
    }

    public function assignment()
    {
        return $this->belongsTo(BoxAssignment::class, 'user_id', 'id');
    }

}
